package com.ruoyi.admin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * prescript对象 prescript
 * 
 * @author ruoyi
 * @date 2023-01-11
 */
public class Prescript extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 关联药品id */
    @Excel(name = "关联药品id")
    private Long pDrugsId;

    /** 数量 */
    @Excel(name = "数量")
    private Long pNum;

    /** 关联病历id */
    @Excel(name = "关联病历id")
    private Long pCasesId;

    /** 关联医生id */
    @Excel(name = "关联医生id")
    private Long pStaffId;

    /** 药品序号 */
    @Excel(name = "药品序号")
        private Long dCode;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String dName;


    /** 单次用量 */
    @Excel(name = "单次用量")
    private String dCount;

    /** 单次用法 */
    @Excel(name = "单次用法")
    private String dUsage;

    /** 单次频率 */
    @Excel(name = "单次频率")
    private String dPindu;

    /** 天数 */
    @Excel(name = "天数")
    private Long dDay;



    /** 药品价格 */
    @Excel(name = "药品价格")
    private Long dPrice;

    /**
     * 医生姓名
     */
    private String sName;

    /**
     * 医生科室
     */
    private String sDepar;

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsDepar() {
        return sDepar;
    }

    public void setsDepar(String sDepar) {
        this.sDepar = sDepar;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getdCode() {
        return dCode;
    }

    public void setdCode(Long dCode) {
        this.dCode = dCode;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getdCount() {
        return dCount;
    }

    public void setdCount(String dCount) {
        this.dCount = dCount;
    }

    public String getdUsage() {
        return dUsage;
    }

    public void setdUsage(String dUsage) {
        this.dUsage = dUsage;
    }

    public String getdPindu() {
        return dPindu;
    }

    public void setdPindu(String dPindu) {
        this.dPindu = dPindu;
    }

    public Long getdDay() {
        return dDay;
    }

    public void setdDay(Long dDay) {
        this.dDay = dDay;
    }

    public Long getdPrice() {
        return dPrice;
    }

    public void setdPrice(Long dPrice) {
        this.dPrice = dPrice;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setpDrugsId(Long pDrugsId) 
    {
        this.pDrugsId = pDrugsId;
    }

    public Long getpDrugsId() 
    {
        return pDrugsId;
    }
    public void setpNum(Long pNum) 
    {
        this.pNum = pNum;
    }

    public Long getpNum() 
    {
        return pNum;
    }
    public void setpCasesId(Long pCasesId) 
    {
        this.pCasesId = pCasesId;
    }

    public Long getpCasesId() 
    {
        return pCasesId;
    }
    public void setpStaffId(Long pStaffId) 
    {
        this.pStaffId = pStaffId;
    }

    public Long getpStaffId() 
    {
        return pStaffId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pDrugsId", getpDrugsId())
            .append("pNum", getpNum())
            .append("pCasesId", getpCasesId())
            .append("pStaffId", getpStaffId())
            .toString();
    }
}
